﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SOM.Model;

namespace SOM.AbstractDAL
{
    public abstract class AbstractInstituicaoDAL
    {
        public abstract void Insert(Instituicao instituicao);
        public abstract List<Instituicao> FindAll();
        public abstract void Update(Instituicao instituicao);
        public abstract void Delete(Instituicao instituicao);
        public abstract Instituicao FindById(int idInstituicao);
        public abstract Instituicao FindByCnpj(string cnpj);
        public abstract Instituicao Load(int idInstituicao, SOMEntities contexto);
        public abstract Instituicao Load(int idInstituicao);
        public abstract void SaveChanges();
    }
}
